package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.DataSource;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约信息配置表对象 tourism_appointment
 *
 * @author gqd
 * @date 2020-12-23
 */

public class TourismAppointment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

//    /** 开始时间 */
//    @JsonFormat(pattern = "HH:mm:ss")
//    @Excel(name = "开始时间", width = 30, dateFormat = "HH:mm:ss")
    private String startTime;

//    /** 结束时间 */
//    @JsonFormat(pattern = "HH:mm:ss")
//    @Excel(name = "结束时间", width = 30, dateFormat = "HH:mm:ss")
    private String endTimes;

    /** 预约总数 */
    @Excel(name = "预约总数")
    private Integer peopleNumber;

    /** 已预约人数 */
    @Excel(name = "已预约人数")
    private Integer quotaNumber;

    private String state;

    private Integer surplusSums;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPeopleNumber() {
        return peopleNumber;
    }

    public void setPeopleNumber(Integer peopleNumber) {
        this.peopleNumber = peopleNumber;
    }

    public Integer getQuotaNumber() {
        return quotaNumber;
    }

    public void setQuotaNumber(Integer quotaNumber) {
        this.quotaNumber = quotaNumber;
    }

    public void setSurplusSums(Integer surplusSums) {
        this.surplusSums = surplusSums;
    }

    public void setStartTime(String startTime)
    {
        this.startTime = startTime;
    }
    public String getStartTime()
    {
        return startTime;
    }
    public void setEndTimes(String endTimes)
    {
        this.endTimes = endTimes;
    }
    public String getEndTimes()
    {
        return endTimes;
    }


    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startTime", getStartTime())
            .append("endTimes", getEndTimes())
            .append("peopleNumber", getPeopleNumber())
            .append("quotaNumber", getQuotaNumber())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
             .append("state", getState())
            .toString();
    }
}
